package net.hn.hnms.biz.plan.controller;


import net.hn.hnms.biz.plan.service.CustomFieldsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/customFields")
public class CustomFieldsController {


    @Autowired
    private CustomFieldsService customFieldsService;

    @RequestMapping("/getAll")
    public Map<String,String> getAll(){




        return customFieldsService.getAll();
    }
}
